home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 45975 / 45975.xpi / content / options.xul < prev    next >
Extensible Markup Language  |  2009-11-23  |  2KB  |  59 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://clicknlearn/skin/options.css" type="text/css"?>
  4.  
  5. <!--
  6.   ~ Copyright (c) 2009 Bui Viet Thanh (thanhbv@gmail.com).
  7.   ~
  8.   ~ This file is part of clicknlearn.
  9.   ~
  10.   ~ clicknlearn is free software: you can redistribute it and/or modify
  11.   ~ it under the terms of the GNU General Public License as published by
  12.   ~ the Free Software Foundation, either version 3 of the License, or
  13.   ~ (at your option) any later version.
  14.   ~
  15.   ~ clicknlearn is distributed in the hope that it will be useful,
  16.   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18.   ~ GNU General Public License for more details.
  19.   ~
  20.   ~ You should have received a copy of the GNU General Public License
  21.   ~ along with clicknlearn.  If not, see <http://www.gnu.org/licenses/>.
  22.   -->
  23.  
  24. <prefwindow title="ClickNLearn Options"
  25.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  26.             buttons=",">
  27.     <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" />
  28.     <script type="application/x-javascript" src="chrome://clicknlearn/content/options.js"/>
  29.  
  30.     <prefpane label="Dictionaries Settings">
  31.         <grid>
  32.             <columns>
  33.                 <column />
  34.                 <column />
  35.                 <column />
  36.                 <column />
  37.                 <column />
  38.             </columns>
  39.             <rows id="dics-rows">
  40.                 <row id="options-titlerow">
  41.                     <label value="Enable"/>
  42.                     <label value="Dictinary" />
  43.                     <label value="BaseUrl" />
  44.                     <label value="Not found pattern" />
  45.                     <label value="DOM selectors" />
  46.                 </row>
  47.                 <!-- we will add rows dynamicly here -->
  48.             </rows>
  49.         </grid>
  50.     </prefpane>
  51.  
  52.     <button label="Add Dictionary" oncommand="CNL_Options.addDictionary();"/>
  53.     <button label="Remove" oncommand="CNL_Options.removeDictionary();"/>
  54.     <button id="buttonMoveUp" label="Move Up" oncommand="CNL_Options.moveUpDictionary();"/>
  55.     <separator orient="vertical" class="groove"/>
  56.     <button label="OK" oncommand="if(CNL_Options.validate()){CNL_Options.acceptDialog();acceptDialog();}"/>
  57.     <button label="Help" oncommand="CNL_Options.help();" />
  58. </prefwindow>
  59.